package design.patterns.observer.simpleobserver;

/**
 * @Desc:
 * @author: cww
 * @DateTime: 2020-06-11 23:56
 */

public class MainTest {
    public static void main(String[] args) {
        ConcreteSubject c = new ConcreteSubject();
        Observer s = new ConcreteObserver();
        c.attach(s);
        c.notifyObservers();
    }
}
